#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'lrqrun'
__mtime__ = '16-1-6'
"""

from django.conf.urls import patterns, include, url
import views

urlpatterns = patterns('',
                       # url(r'^$', 'attendance.views.index', name='index'),
                       # url(r'^home','attendance.views.dashboard'),
                       url(r'^setcmd/',views.setcmd),
                       url(r'^weixin/(.+)',views.weixin_pages,name='weixin'),
                       url(r'^hr/(.+)',views.hr_pages,name='hr'),
                       #url(r'^applyleave',views.applyleave,name='applyleave'),
                       #url(r'leave_record',views.leave_record,name='leave_record_url'),
                       #url(r'leave_detail/(.+)',views.leave_detail,name='leave_detail_url'),
                       #url(r'leave_query/',views.leave_query),
                       #url(r'leave_approve/(.*)',views.leave_approve,name='leave_approve_url'),
                       #url(r'attendance_report/(.*)',views.attendance_report),
                       #url(r'approval_history/',views.approval_history,name='approve_history_url'),
                       url(r'^ajax/',views.ajax_view),
                       url(r'^upload/record/$',views.upload_attend_record),
                       url(r'^upload/availeave/$',views.upload_avai_leave),
                       url(r'^leaves/$',views.upload_leave_data),
                       url(r'^test/',views.test),
                       url(r'^getexcel/$',views.get_excel)
                       )
